package com.quanyan.platform.web;

import com.quanyan.api.APIResponse;
import com.quanyan.platform.model.resp.RespTest;
import com.quanyan.platform.service.PlatformTestService;
import com.quanyan.user.response.RespUserInfoBase;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * Created by zhang on 17/3/11.
 */
@RestController
@RequestMapping(value = "/api/platform/test", method = RequestMethod.POST)
public class PlatformTestController {

    @Autowired
    private PlatformTestService platformTestService;

    @RequestMapping(value = "get")
    public APIResponse<RespUserInfoBase> get(Map map){

        return platformTestService.get(map);
    }
}
